package com.feiclub.subject.domain.service;

import com.feiclub.subject.domain.entity.SubjectCategoryBO;

import java.util.List;

public interface SubjectCategoryDomainService {
     void add(SubjectCategoryBO subjectCategoryBO);

////     查询岗位大类
//List<SubjectCategoryBO> queryPrimaryCategory(SubjectCategory subjectCategory);


     /**
      * 大类下分类
      * 根据分类id查二级分类
      */
     List<SubjectCategoryBO> queryCategory(SubjectCategoryBO subjectCategoryBO);


    /**
     * 更新分类
     */
    Boolean update(SubjectCategoryBO subjectCategoryBO);

    /**
     * 删除分类
     */
    Boolean delete(SubjectCategoryBO subjectCategoryBO);
}
